package com.example.hfSystem.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.example.hfSystem.entity.pojo.Yonghu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2024-04-10
 */
@Mapper
public interface YonghuMapper extends BaseMapper<Yonghu> {

    List<Yonghu> selectListVO(@Param("ew") Wrapper<Yonghu> wrapper);

    Yonghu selectVO(@Param("ew") Wrapper<Yonghu> wrapper);

    List<Yonghu> selectListView(@Param("ew") Wrapper<Yonghu> wrapper);

    List<Yonghu> selectListView(Pagination page, @Param("ew") Wrapper<Yonghu> wrapper);

    Yonghu selectView(@Param("ew") Wrapper<Yonghu> wrapper);
}
